package com.atmilan.quartz.sync.pull.crmeb.converter;

import java.util.List;

import org.mapstruct.Mapper;

import com.atmilan.quartz.model.entity.sync.SyncOrderProduct;
import com.atmilan.quartz.model.entity.sync.SyncOrderStore;
import com.atmilan.quartz.model.result.CrmebOrderResult;


/**
 * @author hupeng
 */
@Mapper(componentModel = "spring")
public interface SyncCrmebOrderConverter {

    public abstract SyncOrderStore toOrderStoreModel(CrmebOrderResult.OrderStore orderStore);

    public abstract List<SyncOrderProduct> toOrderProductModelList(List<CrmebOrderResult.OrderProduct> orderProducts);


}
